#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <time.h>

int main()
{
	time_t end, now;
	int64_t count = 0;

	//矫正一下
	now = time(NULL);
	while(now == time(NULL));

	end = time(NULL) + 5;
	
	while(now < end)
	{
		count++;
		usleep(10);
		now = time(NULL);
	}
	printf("%ld\n", count);

	exit(0);
}
